# 规则 人胜利:1-2  2-3  3-1
# 平手:出一样
# #电脑胜
import random
player = int(input('输入1或2或3,开始吧:'))
computer = random.randint(1,3)
if player == computer:
    print('平局啦')
elif (player == 1 and computer == 2) or (player == 2 and computer == 3) or (player == 3 and computer == 1):
    print('电脑太菜了,人胜利')
else:
    print('电脑胜利')

# import random
#
# pc = random.randint(1, 3)
# user = int(input('请出拳(数字1:石头,数字2:剪刀,数字3:布):'))
# if user == pc:
#     if pc == 1:
#         print('电脑:石头')
#     elif pc == 2:
#         print('电脑:剪刀')
#     else:
#         print('电脑:布')
#     print('呵,你奈我何o(´^｀)o')
# elif user == 1 and pc_num == 2 or user == 2 and pc_num == 3 or \
#         user == 3 and pc_num == 1:
#     if pc_num == 1:
#         print('电脑:石头')
#     elif pc_num == 2:
#         print('电脑:剪刀')
#     else:
#         print('电脑:布')
#     print("你个小辣鸡ψ(*｀ー´)ψ")
# else:
#     if pc_num == 1:
#         print('电脑:石头')
#     elif pc_num == 2:
#         print('电脑:剪刀')
#     else:
#         print('电脑:布')
#     print('别得意,下次弄死你(•́へ•́╬)')